package com.zyp.builder;

public class BuilderDirector {

	private PersonBuilder builder;
	
	public BuilderDirector(PersonBuilder builder){
		this.builder=builder;
	}
	
	public Person createPerson(){
		builder.buildHead();
		builder.buildBody();
		builder.buildHands();
		builder.buildFoots();
		return builder.buildPerson();
	}
	
	
	
}
